﻿using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Drawing;

namespace IAlarm
{
    /// <summary>
    /// 报警读取器
    /// </summary>
    public interface IAlarmReader
    {
        /// <summary>
        /// 获取某一天的所有报警组
        /// </summary>
        /// <param name="area">区域名</param>
        /// <param name="device">设备名</param>
        /// <param name="dateTime">日期时间</param>
        /// <returns>返回参数dateTime这一天的所有报警组</returns>
        GroupInfo[] ReadGroups(string area, string device, DateTime dateTime);

        Bitmap ReadFrame(GroupInfo group, AlarmInfo alarm);
    }
}
